package ooday03;

public class InterfaceDemo {
    public static void main(String[] args) {

    }
}

interface Inter1 {
    public abstract void test();
}
interface Inter2 {
    void show();
}
interface Inter3 extends Inter1,Inter2{
    void eat();
}

abstract class Abs1 extends Abs2 implements Inter3{
    abstract void drink();
}
abstract class Abs2 {
    abstract void cry();
}

class cla1 extends Abs1 {
    public void test() {
        System.out.println("test");
    }
    void drink() {
        System.out.println("drink");
    }
    public void eat() {
        System.out.println("eat");
    }
    public void show() {
        System.out.println("show");
    }
    void cry() {
        System.out.println("cry");
    }
}
































